jQuery(function($){

	var mySwiper2 = new Swiper('#swiper-container2',{
		watchSlidesProgress : true,
		watchSlidesVisibility : true,
		slidesPerView : 4,
		onTap: function(){
			mySwiper3.slideTo( mySwiper2.clickedIndex)
		}
	})
	var mySwiper3 = new Swiper('#swiper-container3',{
		onSlideChangeStart: function(){
			updateNavPosition()
		}
	})

	function updateNavPosition(){
		$('#swiper-container2 .active-nav').removeClass('active-nav')
		$('#swiper-container2 .swiper-slide').eq(mySwiper3.activeIndex).addClass('active-nav');
	}

	$(".left").click(function(){
		location.href = '../index.html'
	})
})